package year2019.month11;

public class TestString {

    public static void main(String[] args){
        String s = "bes352fsg";
        long start1 = System.currentTimeMillis();
        String str = "999"+s+"kutfut"+532245+"gwrgtftwetfwtg"+3252464634643L;
        System.out.println(str.length());
        long end1 = System.currentTimeMillis();
        System.out.println(end1-start1);

        long start2 = System.currentTimeMillis();
        StringBuilder strBu = new StringBuilder();
        strBu.append("9990").append(s).append("kutfut0").append(5322450).append("gwrgtftwetfwtg0").append(13252464634643L);
        System.out.println(strBu.length());
        long end2 = System.currentTimeMillis();
        System.out.println(end2-start2);
    }

}
